package com.city.service.party;

import com.city.domain.party.PartyBranch;

import java.util.List;

public interface PartyBranchService {
    void save(PartyBranch partyBranch);//保存党组织信息
    List<PartyBranch> findAll(Integer page, Integer limit);//分页查询
    long count();//统计信息条数
    PartyBranch findById(int id);
    List<PartyBranch> findAllPartyBranch();
    void deleteById(int id);
    //模糊查询
    List<PartyBranch> findLikeName(String branchName,Integer page,Integer limit);

    //根据组织名统计信息
    long countName(String branchName);
}
